My first git commit
By user12821170 on May 01, 2009
I did my first git push yesterday (30/04/2009() since GNOME has moved from svn(1)to git(1). First of all, I really do appreciate those who worked on getting git(1) into OpenSolaris; save me having to build them from Spec Files Extra.
Looking at the my bash shell history, I issued the following commands:
git config --global user.name "user name"
git config --global user.email "email-address"
# That set up my basic identification.
git clone git://git.gnome.org/gnome-session
# First mistake, I checked out with read-only permission.
git clone ssh://"username"@git.gnome.org/git/gnome-session
# Checked out properly. Make code changes
# Look at code diff
git commit gnome-session/gsm-manager.c
# Commit code to local git clone
git push --dry-run
# Tried to push in dry run mode
git push origin HEAD
# finally pushed to master repository.
All the commands use are essentially nicely documented here
After making the commit, received a link from maintainer in how to make commit message more meaningful and conformance.
Just for future commits: http://live.gnome.org/Git/CommitMessages