git branch -d someBranchName
note: used to delete someBranchName
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 14
git branch
note: used to determine which branch you are working with
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
note: used to unstage a file
Sample Git Command 7
git remote add origin https://someSite.com/someFile.git
note: for adding files from a remote location
note: for adding files from a remote location
Sample Git Command 6
git log
note: shows stuff done on git in the past
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
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 1
git init
initialized existing Git repository in /.git/
initialized existing Git repository in /.git/
Subscribe to:
Posts (Atom)
This is an example of scrolling text using Javascript.
Popular Posts
-
# Codecademy sample solution # What are the four commonly used HTTP methods ("verbs")? # A: FIND, SEND, UPDATE, REMOVE # B: ...
-
$("#tours > li")
-
<!--sample solution--> <html> <head> <title>Week 13 Project</title> </head> ...
-
//sample solution def isEven(x): if(x % 2 == 0): return "yep" else: return "nope"
-
<html> <head> <!-- Add the Parse SDK here! --> <script src="http://www.parsecdn.com/js/par...
-
<!-- Sample solution to index.html --> <!DOCTYPE html> <html> <body> <div class="nav"> ...
-
Answer: Alt - p p stands for previous. If you keep pressing Alt - p, you will continue cycling back through commands you typed before. I...
-
#sample solution hungry = false unless hungry puts "I'm writing Ruby programs!" else puts "Time to eat!...
-
// sample solution to panel.js $(document).ready(function(){ var $panel = $("#panel"); var $tab = $("#tab"); ...
-
//sample solution var yourName = "Pam"; var gender = "female"; var result; //Line 10 starts an if statement //Ne...