Tree-Maintenance: current/devel
Slava Zanko
slavazanko at gmail.com
Wed Dec 31 08:19:33 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Enrico Weigelt wrote:
> * Slava Zanko <slavazanko at gmail.com> schrieb:
>
> Hi,
>
>> Enrico, please don't hurry. Wait please a few days (may be, after New Year).
>> All existing patches need to be collected in one place. This place will
>> git (browse: http://www.midnight-commander.org/browser). It contains the
>
> How can I checkout/clone it ?
ssh-keygen -f mc-devel
mkdir -p ~/.ssh/keys
chmod 0700 ~/.ssh/keys
mv -f mc-devel ~/.ssh/keys/mc-devel.key
mv -f mc-devel.pub ~/.ssh/keys/mc-devel.pub
chmod 0600 ~/.ssh/keys/mc-devel.key
[ ! -f ~/.ssh/config ] && touch ~/.ssh/config
cat >>~/.ssh/config <<EOF
host www.midnight-commander.org
IdentityFile ~/.ssh/keys/mc-devel.key
host midnight-commander.org
IdentityFile ~/.ssh/keys/mc-devel.key
EOF
mail ~/.ssh/keys/mc-devel.pub to Patrick Winnertz
Then:
git clone ssh://www.midnight-commander.org:2222/git/mc.git
Or may be anonymous r/o access:
git clone git://midnight-commander.org/git/mc.git
Then simply to work:
# to view all local branches
git branch
# to view all branches ( included from parent(s) git )
git branch -a
# make remote branch as local
git branch --track stable origin/stable
# switch to branch 'stable'
git checkout stable
# get changes from parent git
git pull
# push changes to parent git
git push
P.S. I'm not a professional in git... Thanks to Patrick Winnertz - he my
teacher in git :)
WBR, Slavaz.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFJWysVb3oGR6aVLpoRApyUAJ4jbRjeP4bGyxJbYW/BnIYWYPruBwCffA4q
3htj5y6ANIYSHG4ofeDyIoI=
=e7G0
-----END PGP SIGNATURE-----
More information about the mc-devel
mailing list