c5fc3f283f
Wrap token in quotes for zsh
Nathan Broadbent
2012-02-29 00:20:57 +08:00
885d528c35
Fixed local variables for ZSH
Nathan Broadbent
2012-02-28 22:39:58 +08:00
bc8befae0c
Merge pull request #17 from jdelStrother/locals
Nathan B
2012-02-28 06:20:25 -08:00
077f22da0b
Don't export 'i' and 'cmd_output' as global vars
Jonathan del Strother
2012-02-28 12:42:38 +00:00
c68f0c523a
Added function to delete a git branch from local, cached remote and remote server
Nathan Broadbent
2012-02-22 11:28:48 +08:00
5d46601889
Ignore both the stat file and the temp stat file
Nathan Broadbent
2012-02-16 16:02:22 +08:00
91477073fe
Added Documents and Flowcharts to the default design assets directories. This shifts the focus towards every project having a structured 'My Documents' folder.
Nathan Broadbent
2012-02-04 12:27:58 +08:00
f95e9a8544
Updating build statuses for all branches only periodically is still too slow. Now it only updates statuses for branches from remotes/origin that also have a local copy
Nathan Broadbent
2012-02-03 17:51:40 +08:00
f403169176
Escape git command (in case it's aliased)
Nathan Broadbent
2012-02-03 15:03:20 +08:00
f71372a8e9
Expanded travis ci build status update, so that it can perform frequent updates for the current branch, and periodic updates for all branches. Updating all branches was taking over 20 minutes.
Nathan Broadbent
2012-02-03 11:35:08 +08:00
78cc2d46ea
Make sure bin/git is used to parse branch (turn off hub wrapper if present)
Nathan Broadbent
2012-02-01 12:12:10 +08:00
4cf8671a1c
Use mislav's 'travis-ci' gist to show build status for current branch
Nathan Broadbent
2012-01-31 17:26:03 +08:00
7fd415bbf4
Fixed bug in refactor
Nathan Broadbent
2012-01-31 01:15:22 +08:00
cf31c9a15e
'eval' serves no purpose here either
Nathan Broadbent
2012-01-31 01:14:56 +08:00
e22ec216cb
Made dashed line lengths equal in example config [ci skip]
Nathan Broadbent
2012-01-22 00:52:51 +08:00
241654930e
Added bash command wrapping (expand git numbered args for common bash commands, such as cp, mv, rm, etc.). Also set kb shortcuts to true by default.
Nathan Broadbent
2012-01-22 00:40:56 +08:00
1ab0e75746
Added aliases for git_rebase_alias_continue and git_rebase_alias_abort
Nathan Broadbent
2012-01-18 17:32:38 +08:00
e58b98f3e9
Added command to update *.scmbrc files from latest commit.
Nathan Broadbent
2012-01-18 15:37:17 +08:00
2b6e3a9af0
Revert cf8e3875, added aliases for git reset -- and --hard
Nathan Broadbent
2012-01-18 15:33:44 +08:00
38832c70d7
Symlink to ~/.scm_breeze if not installing to that path
Nathan Broadbent
2012-01-17 12:27:42 +08:00
00d00e35eb
Use a better file for Travis CI status
Nathan Broadbent
2012-01-17 10:23:51 +08:00
a0f091b0f2
Use ~/code, and 'c' alias.
Nathan Broadbent
2012-01-15 12:45:45 +08:00
aae9ed4632
Allow use of git_update_travis_status() function outside of git_index --batch-cmd
Nathan Broadbent
2012-01-13 17:41:51 +08:00
04ee82b0c8
Added Travis CI status caching task, for status in shell prompts
Nathan Broadbent
2012-01-13 12:07:07 +08:00
0c510f73ff
Added alias for git commit -C HEAD (useful at final step of merge conflict)
Nathan Broadbent
2012-01-06 16:25:42 +08:00
a78577d613
Don't exit from a function, return
Nathan Broadbent
2012-01-06 16:06:36 +08:00
8d1566c688
Added 'git_swap_remotes' script to swap names between two remotes
Nathan Broadbent
2012-01-06 16:05:40 +08:00
e5a1cef5e8
Added 'git clean' and 'git clean -fd' aliases for clearing untracked files. (gce, gcef)
Nathan Broadbent
2011-12-23 12:59:50 +08:00
398060a67a
Parse long git status for submodule summaries, if .gitmodules exists and any changed 'files' are submodules.
Nathan Broadbent
2011-12-23 12:46:29 +08:00
0784e99eef
When $arg is a normal string, treat it as shell-quoted. But still treat expanded args as plain strings, otherwise it breaks for filenames with spaces
Nathan Broadbent
2011-12-23 11:51:08 +08:00
d5080aa3d3
Fix printf output to use %s, not %q
Nathan Broadbent
2011-12-23 11:47:08 +08:00
9b0852de2d
Handle 'typechange' modification, with special case for symlinks
Nathan Broadbent
2011-12-23 11:46:54 +08:00
229b832bc0
Added function to remove a git submodule
Nathan Broadbent
2011-12-20 15:26:13 +08:00
cc53d9fecf
Fixed git_branch to handle (no branch)
Nathan Broadbent
2011-12-20 11:37:14 +08:00
9e701a18e5
Fixed case where more than one project matched the completed word
Nathan Broadbent
2011-12-20 11:29:44 +08:00
80bd4decac
Updated example cron to refresh repos every 10 min [ci skip]
Nathan Broadbent
2011-12-20 11:15:37 +08:00
9715265c79
Added index --rebuild task before --update-all in example cron script [ci skip]
Nathan Broadbent
2011-12-20 11:13:22 +08:00
ebb646b233
Fixed example cron script to use /bin/bash [ci skip]
Nathan Broadbent
2011-12-19 10:32:16 +08:00
c21039646c
Added example cron config to keep all local repos up-to-date automatically [ci skip]
Nathan Broadbent
2011-12-18 02:03:13 +08:00
4843ec80b5
Use secure url for Travis image
Nathan B
2011-12-18 00:33:08 +08:00
710fb7181e
Implemented a robust git_index_update_all_branches function, to automatically perform a safe fast-forward of all local branches, if their remtoes and merge refs are configured. Can be run from a cron script to keep all repos up to date
Nathan Broadbent
2011-12-18 00:22:01 +08:00
6eaeb873d6
It is often useful to exclude the basename of a file from status shortcuts. i.e. git_exclude_basename $e2
Nathan Broadbent
2011-12-17 11:05:18 +08:00
1ad7408d05
Took some inspiration from git tab completion, and separated the completion of '--' commands from project directories
Nathan Broadbent
2011-12-17 10:53:58 +08:00
cb50656cf0
Finally sorted out tab completions for git aliases, works with all versions of git (1.7.5.4 up to 1.7.8) (#11)
Nathan Broadbent
2011-12-15 00:32:27 +08:00
993c9ee9fc
Replaced all occurences of 'local IFS=' with 'IFS= ... unset IFS'. Fixes#12
Nathan Broadbent
2011-12-14 13:27:39 +08:00
2cd411aa4f
Fixed git alias tab completion (#11), using a slightly altered workaround contributed by @bronson - Thanks!
Nathan Broadbent
2011-12-14 13:12:55 +08:00
6a757687c5
Fixed git_set_default_remote to use current branch for default
Nathan Broadbent
2011-12-13 12:40:36 +08:00
a09f31f9d3
Added git bisect wrapper to find commit that removed text
Nathan Broadbent
2011-12-10 16:33:50 +08:00
46637dc15c
Allow change to a top-level directory within $GIT_REPO_DIR by prefixing the arg with '/'. Comes with tab completion. For example, if you have a directory ~/src/rails, you can move here by typing 's /ra[TAB]'
Nathan Broadbent
2011-12-09 22:59:32 +08:00
debcffa417
Added functions to quickly add git ignore rules to either .gitignore or .git/info/exclude
Nathan Broadbent
2011-12-03 01:47:20 +08:00
9a8d10103f
Added git function to set default remote for a branch. By default it sets: branch.master.remote = origin, branch.master.merge = refs/heads/master
Nathan Broadbent
2011-11-26 12:06:34 +08:00
f2482cf819
Alias 'git' to the 'hub' wrapper, if installed. Wraps the git command with awesome github focussed shortcuts.
Nathan Broadbent
2011-11-17 10:05:09 +08:00
f2dc7c01dc
Merge pull request #14 from jlukas/master
Nathan B
2011-11-09 20:25:38 -08:00
ea26846077
Add a couple comments
Jacob Lukas
2011-11-09 20:14:42 -08:00
bfe91e04f0
Fix whitespace
Jacob Lukas
2011-11-09 20:11:24 -08:00
5e507af747
Fix add/remove with spaces/special characters
Jacob Lukas
2011-11-09 12:45:38 -08:00