Talk:GIT
From syn2cat - HackerSpace.lu
(Difference between revisions)
(→Content) |
|||
(One intermediate revision by one user not shown) | |||
Line 23: | Line 23: | ||
git init --bare; git stash save "My newest unstaged things"; git pull other_repo master; git clone --local --no-hardlinks ~/repo/mypasswordis1234.git; git stash apply; git stash pop; git log --oneline; git checkout file_to_be_undone; git branch new_branch; git checkout new_branch; git push :new_branch_to_be_deleted_on_the_remote_side; git config --list; git config --global user.name=Slopjong; git config --global user.email=me@example.com; | git init --bare; git stash save "My newest unstaged things"; git pull other_repo master; git clone --local --no-hardlinks ~/repo/mypasswordis1234.git; git stash apply; git stash pop; git log --oneline; git checkout file_to_be_undone; git branch new_branch; git checkout new_branch; git push :new_branch_to_be_deleted_on_the_remote_side; git config --list; git config --global user.name=Slopjong; git config --global user.email=me@example.com; | ||
+ | |||
+ | |||
+ | What happens with symbolic links? => http://stackoverflow.com/questions/954560/what-does-git-do-to-files-that-are-a-symbolic-link | ||
+ | |||
+ | Use a graphics like this one: http://francho.org/lab/wp-content/uploads/2009/06/Mercurial-QuickStart-v1.0-120dpi.png | ||
+ | to explain the different stages/steps/whatever |
Latest revision as of 17:03, 21 September 2011
Contents |
[edit] Content
The content probably will be as follows. Its documentation will be created here.
[edit] basic
- basic commands clone, commit, pull, push, log
[edit] not basic, not advanced
- configuring
- reading efficently the logs
- using git completion
[edit] advanced
- repository as a proxy
- turning a non-bare repo into a bare one and vice-versa
- fetching, pulling & pushing across multiple repos
- create an empty git branch (Slopjong really means empty, so a branch without any ancestor)
[edit] Brainstorming
git init --bare; git stash save "My newest unstaged things"; git pull other_repo master; git clone --local --no-hardlinks ~/repo/mypasswordis1234.git; git stash apply; git stash pop; git log --oneline; git checkout file_to_be_undone; git branch new_branch; git checkout new_branch; git push :new_branch_to_be_deleted_on_the_remote_side; git config --list; git config --global user.name=Slopjong; git config --global user.email=me@example.com;
What happens with symbolic links? => http://stackoverflow.com/questions/954560/what-does-git-do-to-files-that-are-a-symbolic-link
Use a graphics like this one: to explain the different stages/steps/whatever