Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Johannes\Desktop\tmp\gittemö>git init
- Initialized empty Git repository in C:/Users/Johannes/Desktop/tmp/gittemö/.git/
- C:\Users\Johannes\Desktop\tmp\gittemö>notepad README
- C:\Users\Johannes\Desktop\tmp\gittemö>git commit -m "asdf" --author "author #1"
- fatal: No existing author found with 'author #1'
- C:\Users\Johannes\Desktop\tmp\gittemö>git commit -m "asdf" --author "author"
- fatal: No existing author found with 'author'
- C:\Users\Johannes\Desktop\tmp\gittemö>git commit -m "asdf" readme.txt
- error: pathspec 'readme.txt' did not match any file(s) known to git.
- C:\Users\Johannes\Desktop\tmp\gittemö>git add README.txt
- C:\Users\Johannes\Desktop\tmp\gittemö>git commit -m "asdf" --author "Box Box <[email protected]>"
- [master (root-commit) 62eaf66] asdf
- Author: Box Box <[email protected]>
- 1 file changed, 2 insertions(+)
- create mode 100644 README.txt
- C:\Users\Johannes\Desktop\tmp\gittemö>git checkout -b otherstuff
- Switched to a new branch 'otherstuff'
- C:\Users\Johannes\Desktop\tmp\gittemö>notepad README
- C:\Users\Johannes\Desktop\tmp\gittemö>git commit README.txt -m "awesome" --author "Boxmein <[email protected]>"
- [otherstuff 9f4978e] awesome
- Author: Boxmein <[email protected]>
- 1 file changed, 1 insertion(+)
- C:\Users\Johannes\Desktop\tmp\gittemö>git checkout master
- Switched to branch 'master'
- C:\Users\Johannes\Desktop\tmp\gittemö>git cherry-pick 9f4978e
- [master 0dfdf36] awesome
- Author: Boxmein <[email protected]>
- 1 file changed, 1 insertion(+)
- C:\Users\Johannes\Desktop\tmp\gittemö>git log
- commit 0dfdf36108f29c58f796b043745aab3eec29e334
- Author: Boxmein <[email protected]>
- Date: Thu Aug 29 20:19:35 2013 +0300
- awesome
- commit 62eaf660113744abf5c0ab3aead4ce78463133c8
- Author: Box Box <[email protected]>
- Date: Thu Aug 29 20:18:42 2013 +0300
- asdf
Advertisement
Add Comment
Please, Sign In to add comment