Quotes help make search much faster. Example: "Practice Makes Perfect"

Showing posts with label Git. Show all posts
Showing posts with label Git. Show all posts

Thursday, June 6, 2013

Sample Git Command 15

git branch -d someBranchName

note: used to delete someBranchName

Sample Git Command 14

git branch

note: used to determine which branch you are working with

Sample Git Command 13

git checkout -- sampleFileName.txt

Sample Git Command 12

git reset someFolderName/someFileName.txt

note: used to unstage a file

Sample Git Command 11

git diff --staged

Sample Git Command 10

git diff HEAD

Sample Git Command 9

git pull origin master

Sample Git Command 8

git push -u origin master

Sample Git Command 7

git remote add origin https://someSite.com/someFile.git

note: for adding files from a remote location

Sample Git Command 6

git log

note: shows stuff done on git in the past

Sample Git Command 5

git add '*.txt'

note: this command add's multiple text files to the staging area

Sample Git Command 4

git commit -m "some comment about newly added file to repository"

Sample Git Command 3

git add sampleFileName.txt

Sample Git Command 2

git status

Sample Git Command 1

git init

initialized existing Git repository in /.git/

This is an example of scrolling text using Javascript.

Popular Posts