This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://[email protected]/gerjantd/foo.git | |
cd foo | |
gitk | |
vi bugfix1 | |
git status | |
git add bugfix1 | |
git status | |
gitk | |
git commit -m "Added bugfix1" | |
gitk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. git clone https://[email protected]/gerjantd/foo.git | |
2. cd foo | |
3. git log --pretty=oneline | |
ed63ee6e036f1a0093e0b5b42a63a37ab69e4bc4 Merge branch 'master' into harebrained | |
f48e2f81555b4bbefb40e262da4d83d6814b80ea Added bugfix2 | |
34290bce3f0fda000195eaf7fa2fc197d8e872de Added crazy and silly | |
dc2e9d8e358b1693d3374fb5452e434ef788a940 Added bugfix1 | |
228662ad192fae2b4736b8bba3d7566fc201a74c Redirecting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://bitdrift.com/post/4534738938/fork-your-own-project-on-github | |
1. Create a new repo named bar at github.com | |
2. git clone https://[email protected]/gerjantd/foo.git bar | |
3. cd bar | |
4. vi .git/config | |
replace foo with bar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://osteele.com/archives/2008/05/my-git-workflow | |
My Git Workflow | |
Git‘s great! But it’s difficult to learn (it was for me, anyway) — especially the index, which unlike the power-user features, comes up in day-to-day operation. | |
Here’s my path to enlightment, and how I ended up using the index in my particular workflow. There are other workflows, but this one is mine. | |
What this isn’t: a Git tutorial. It doesn’t tell you how to set up git, or use it. I don’t cover branches, or merging, or tags, or blobs. There are dozens of really great articles about Git on the web; here are some. What’s here are just some pictures that aren’t about branches or blobs, that I wished I’d been able to look at six months ago when I was trying to figure this stuff out; I still haven’t seen them elsewhere, so here they are now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
svn log -vqr x:y | egrep '^ +[ADM] ' | sort | uniq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
NewerOlder