-
Notifications
You must be signed in to change notification settings - Fork 0
llynix/Git-Notes
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Notes from May 21st Refresh Wichita Falls meeting. Added with notes from my experiences. ---- To create a new repository and push it to a remote server. ---- Have directory with your files in it. Inside that directory in a command shell. git init git add . (all files) git add <path> git commit -m 'First Commit' git remote add github [email protected]:llynix/Git-Notes.git git push github master ---- To Clone an existing repository ---- git clone git://github.com/llynix/Git-Notes.git ---- Status ---- git status git status -s (short) ---- other Notes ---- git checkout -b newbranch git checkout master * switches branches, -b creates new branch git commit -am "your note here" git branch * shows branch git merge newbranch git mergetool * hooks into your mergetool search git branch -d example * delete branch git remote (list remotes) reveal.js (Neat slideshow HTML 5) ------------- # clone a repository on a new machine and then push changes back up to github git commit -am 'Added style to work with responsive design' git remote add github [email protected]:llynix/Simple-Google-Maps-Shortcode.git cd ~/.ssh ssh-keygen -t rsa # put id_rsa.pub on github git push github master
About
My notes on how to use git.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published