Skip to content

Instantly share code, notes, and snippets.

@evandhoffman
Created August 10, 2012 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evandhoffman/3316669 to your computer and use it in GitHub Desktop.
Save evandhoffman/3316669 to your computer and use it in GitHub Desktop.
more shit
evan@evan-desktop: ~ $ git clone evan@10.3.0.77:/home/evan/gitrepo clonedrepo2
Cloning into clonedrepo2...
evan@10.3.0.77's password:
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
evan@evan-desktop: ~ $ cd clonedrepo2/
evan@evan-desktop: ~/clonedrepo2 $ ls
poop
evan@evan-desktop: ~/clonedrepo2 $ echo poop2 > poop2
evan@evan-desktop: ~/clonedrepo2 $ git add poop2
evan@evan-desktop: ~/clonedrepo2 $ man git
evan@evan-desktop: ~/clonedrepo2 $ man git-commit
evan@evan-desktop: ~/clonedrepo2 $ git commit -m "add poop2"
[master f3e591f] add poop2
Committer: Evan Hoffman <evan@evan-desktop>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 poop2
evan@evan-desktop: ~/clonedrepo2 $ git push
evan@10.3.0.77's password:
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 275 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To evan@10.3.0.77:/home/evan/gitrepo
5b52d0a..f3e591f master -> master
evan@evan-desktop: ~/clonedrepo2 $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment