Git
Published: 13:15, Thursday 14 July 2011
Notes
What's this? See my article about Notes.
View as plain text file.
install:
apt-get it
download tar.gz from website
in dir as su ./configure
make
make install
global setup:
git config --global user.name name
git config --global user.email email
make key
configure repository:
mkdir repname; cd repname
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:fuligginoso/expand.git
git push origin master
existing:
go to dir
git remote add origin git@github.com:fuligginoso/expand.git
git push origi: master
usage
init, add, commit, branch, checkout
clone: git clone url
Write a Comment
* These fields are mandatory.