You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-6Lines changed: 36 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,18 +80,23 @@ With GitScripts you can just do:
80
80
commit "my comments on my changes" -a
81
81
82
82
83
-
I know, these doesn't seem much different. But it *did* save just a little bit of time. Two paper cuts (in a world of Windows, that's two paper cuts less in the death by a thousand paper cuts that you suffer every day).
83
+
I know, these doesn't seem much different. But it *did* save just a little bit of time. Two paper cuts.
84
84
85
85
86
86
### New Branch
87
87
88
88
Here's where the real magic happens though. Let's say you want to create a new branch. Normally you would have to do all of the following (if being safe):
@@ -125,6 +133,28 @@ Yikes! Again, GitScripts to the rescue! Here's what you would do in GitScripts:
125
133
merge branchtomergefrom into branchtomergeto
126
134
127
135
136
+
### More
137
+
138
+
There are many other things that GitScripts does for you. Here is an incomplete list of commands:
139
+
140
+
* add [filename] - Will determine if git add or git rm needs run, and then runs it for the provided file. If no file provided, presents you with a menu of unstaged files.
141
+
* branch - Will present a numbered list of all branches. Optionally allows you to select a branch to checkout
142
+
* checkout [branchname] - Supports tab completion on branch names. Will present a numbered list of branches for you to select one to checkout. Auto-merges master and pulls latest from remote.
143
+
* clean-branches - determine which branches are already merged with master and prompt for you to delete them
144
+
* commit - Commit with implicit -m flag, prompts for -a or -A, pushes changes to remote
145
+
* contains [branch]- Searches through branches to determine which ones contain do/don't contain the branch (defaults to current branch)
146
+
* cpafter - Allows you to specify date and to/from directories. Will copy all files modified after specified date in specified directory to specified directory
147
+
* delete <branch> - Deletes branch and prompts for deletion on remote
148
+
* gitdiff [branch] - shows all differences between current branch and specified branch in concise manner and then prompts for verbose manner
149
+
* gitdifftool [branch] - same as gitdiff, but, runs your gitdiff tool to show differences
150
+
* merge <branch> [into branch] - Merges master into both, pulls remotes for both, then merges the first into the second and prompts for push to remote
151
+
* new <branch> [from branch] - Creates new branch from master or from specified branch. Updates the starting branch first. Prompts for push after
152
+
* pull [branch] - Pull changes form remote for specified branch as well as merges latest version of master
153
+
* pullscripts - updates gitscripts!
154
+
* push - Pushes changes from current branch up to remote
155
+
* trackbranch <branch> [upstream/branch] - Allows you to set the upstream (remote repo) for a branch
156
+
* update - Pulls changes from remote and merges master
0 commit comments