Editing Talk:GIT

From syn2cat - HackerSpace.lu
Revision as of 11:54, 14 August 2011 by Slopjong (Talk | contribs)


Revision as of 11:54, 14 August 2011 by Slopjong (Talk | contribs)

Jump to: navigation, search

Contents

Content

basic

  • basic commands clone, commit, pull, push, log

not basic, not advanced

  • configuring
  • reading efficently the logs
  • using git completion

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)


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;

Start a new discussion

Warning: You are editing an out-of-date revision of this page. If you save it, any changes made since this revision will be lost.

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
 

Please note that all contributions to syn2cat - HackerSpace.lu are considered to be released under the Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) (see syn2cat:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
There are no threads on this page yet.
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools