Commit graph

112 commits

Author SHA1 Message Date
kazzna
2edc86e9a0 Add git switch --create 2023-09-19 13:45:02 +09:00
Jack Bird
d50d910c9b removed import added by accident 2023-07-15 21:20:15 +01:00
Jack Bird
229415444e Added -d and --delete to git push to delete remote branches 2023-07-15 20:56:07 +01:00
Cesar Costas
30a50cf4c0
Manually add arguments after squash to the general arguments 2022-11-30 02:35:44 +00:00
Cesar Costas
4471fc9595
Update commands.js
Being a popular option in Github to squash and merge, it would be interesting to add support for this option
2022-11-29 23:01:57 +00:00
Peter Cottle
ad04b2d8d8 Resolves #1004 -- fix arg parsing on git pull 2022-08-29 16:25:51 -06:00
0xLogN
1e1c3a46e6
add git gc command 2022-04-29 18:34:11 -07:00
Qusijue
521cc0e809 rebase onto implemented 2021-08-13 19:11:00 +05:00
Anh Hồng
b7ac2851c6 refactor: replace all master to main 2021-04-19 10:52:05 +07:00
Peter Cottle
a08fa94e92 Resolves #769 -- updates solution commands and fixes a TON more bugs with the master to main renaming 2021-01-01 14:20:05 -07:00
Peter Cottle
8a159ea498 Resolves #768 -- fix pull arguments (same issue) 2020-12-30 09:20:03 -07:00
Peter Cottle
7be578699d Resolves #766 -- use same method post command validation so o/main works 2020-12-29 08:52:42 -07:00
Ulysse ARNAUD
11448ed428 Added git switch with '-' and '-c' as optional arguments 2020-09-16 20:35:07 +02:00
Samuel H Leclerc
512264119d Fixed typo in error message displayed 2019-09-15 15:27:38 +00:00
Lukas Schmid
b281d1d76c Added support for git tag -d <tag> and fixed a bug where a duplicate tag name wouldn't show in the error-msg 2019-09-04 16:47:24 +02:00
David Nelson
b9f8e19162 Implement log using RevisionRange
This changes the implementation of the "log" command to use the RevisionRange
functionality. RevisionRange sorts the results in order of reverse create time,
to match real git. This is a change from the previous implementation of log,
which essentially produced a breadth-first ordering.
2019-04-19 01:58:53 -05:00
David Nelson
8529a3aac7 Implement rev-list
This commit introduces the RevisionRange, which more closely follows real git
in terms of identifying a range of revisions than the current implementation of
log. RevisionRange is being used in the new rev-list command first because it
is easy to test for ordering. A future commit will replace the existing
implementation of log with RevisionRange.
2019-04-19 01:58:34 -05:00
Hongarc
27ef578b2e Remove 16 underscore requires 2018-12-01 13:04:24 +07:00
Hongarc
96ddb5041a Use 'Object.values' and 'Object.keys' instead of '_.each(object)' 2018-12-01 12:34:23 +07:00
Hongarc
e17d974b55 Use 'util/escapeString' instead of _.escape 2018-12-01 08:40:56 +07:00
Hongarc
7af2db3da5 Replace '_.map' to 'Array.prototype.map' 2018-12-01 08:20:42 +07:00
Hongarc
0134bf9870 Replace some '_.each' with 'Array.prototype.forEach' 2018-12-01 08:05:27 +07:00
Hongarc
41bb6d1bd7 Fix more typo, ' and some word 2018-11-30 22:11:38 +07:00
Hongarc
694f414e22 Fixed typos in comments and strings 2018-11-29 01:38:01 +07:00
Waldir Pimenta
bfb0e9aaa8
commands.js: add --all alias to the -a option 2018-07-10 21:59:53 +01:00
Waldir Pimenta
faf939d210
commands.js: add --force alias to the -f option
modeled after the current implementation of branch -d / branch -D
2018-07-07 18:23:47 +01:00
Peter Cottle
745c10c85a Resolves #469 bug in arg parsing 2018-06-16 16:37:20 -07:00
Oleksandr Redko
5a784ae15e Fixed typos in comments and strings 2016-10-26 12:19:24 +03:00
Peter Cottle
02a69e85c0 Resolves #385 -- validate no amend options 2016-07-31 16:06:05 -07:00
Peter Cottle
d302887fd1 Resolves #381 -- better validation of args for git fakeTeamwork 2016-07-06 21:18:32 -07:00
Peter Cottle
7fc33541cc [FeatureRequest] git push --force beta Resolves #185 2014-11-29 17:34:37 -08:00
Patrick
00cc6349d0 Added extra flag to interactive rebase which accepts a list of commits (ordering counts). This list will then be shown to the user when the rebase dialog shows up when showing a solution that does an interactive rebase. This is so the user doesn't have to guess about what commits were picked and how they were ordered for the solution 2014-07-26 15:22:26 -04:00
Peter Cottle
2423646199 PR #195 bit of style cleanup and error handling and test for error handling 2014-07-26 21:40:45 +08:00
Patrick
72cc7d6bd3 Added testable interactive rebase. It doesn't fully test everything (mainly the GUI), but is a start 2014-07-24 17:43:59 -04:00
Patrick Tully
55ac6da589 Changed checkout -B to set the branch to point at the specified commit rather than always using HEAD 2014-07-20 12:36:37 -04:00
Patrick Tully
dd58afde76 Changed interactive rebase to rebase the target branch if specified 2014-07-20 12:36:27 -04:00
Peter Cottle
f952bd7061 Resolves #154 input escaping issue when accessing remote branch locally to push remote, fixed others too 2014-01-06 10:04:03 -08:00
Peter Cottle
17fda94aff Better helper bar with float and more room for options 2013-12-30 10:23:58 -08:00
Peter Cottle
e7d9b76b98 moved another function to graph 2013-12-23 10:15:16 -08:00
Peter Cottle
fcd0ffce85 Resolves Issue #151 silly assert issue 2013-12-15 17:23:51 -08:00
Peter Cottle
598f8263b3 whitespace warnings 2013-12-08 10:37:10 -08:00
Peter Cottle
1ba46f7705 yay command option parsing makes more sense 2013-11-18 10:22:53 -08:00
Peter Cottle
c3f0f48f28 Issue #144 describe support for command 2013-11-04 18:39:51 -08:00
Peter Cottle
ebfd5e84d2 Merge branch 'tagSupport' Pull Request #137 Issue #134
Conflicts:
	src/js/git/index.js
2013-10-27 12:37:48 -07:00
Peter Cottle
dc8df68dac push args done 2013-10-26 14:14:08 -07:00
Peter Cottle
55d563a9bc gah was forgetting origin assert 2013-10-26 13:44:52 -07:00
Peter Cottle
9760874f69 sweet new fetch levle 2013-10-26 13:21:44 -07:00
Peter Cottle
c522722513 much better interaction on levels keys with tabs 2013-10-26 12:46:19 -07:00
Peter Cottle
749a303904 more pull work 2013-10-22 11:00:33 -07:00
Peter Cottle
b8cf7f75c0 yay all tests pass and big git pull update 2013-10-22 10:56:35 -07:00