bartman / git-wip Goto Github PK
View Code? Open in Web Editor NEWhelp track git Work In Progress branches
Home Page: http://www.jukie.net/~bart/blog/save-everything-with-git-wip
help track git Work In Progress branches
Home Page: http://www.jukie.net/~bart/blog/save-everything-with-git-wip
I seems that git-wip does not detect changes, it shows no changes
but there is actually changes, I used the script in master and next branches, no success
The setup script path should be made absolute:
diff --git a/git-wip b/git-wip
index 4a8d80b..3d1dba9 100755
--- a/git-wip
+++ b/git-wip
@@ -37,7 +37,7 @@ Options for log:
SUBDIRECTORY_OK=Yes
OPTIONS_SPEC=
-. git-sh-setup
+. "$(git --exec-path)/git-sh-setup"
require_work_tree
Marc
In git-wip script, what is the purpose of following:
There also doesn't seem to have any functions or scripts in the code implementing these. What am I doing wrong?
Get a fatal revision error when running "git wip log" and will not do any committing
Worked once I made an additional commit and did rm -rf on refs/wip
Hi
It seems like there has been a lot of development or merges of pull requests lately. That is sad because this a nice little tool. If you want, I can help you maintain it? I don't have a lot of time either, but I could look at the pull requests and merge them in if they make sense. I also have an integration with wip and Facebook's watchman, I at least find helpful and could share as it is done with the vim plugin.
This is in no way a criticism, but I know when life gets in the way and tuits are hard to find, so I just wanna help keep this project alive if you're interested.
\o baest
Thanks for the script, really close to what I'm looking for but it's currently too similar to what can be achieve with undotree.
Wondering how this would work when editor save pushes to a remote as well. I'm trying to make it so when I work on one machine I can switch to another machine or another user on another machine can get access to my WIP and pick up where I left off.
$ git wip --editor
fatal: Not a git repository (or any of the parent directories): .git
Should be able to delete wip branches.
$ git wip list
wip/foo
wip/bar
$ git wip delete wip/foo
$ git wip delete bar
@bartman, are you planning to keep maintaining git-wip-mode
, or is it deprecated in favor of magit-wip
as suggested in #14?
The reason I ask is that I made some enhancements to git-wip-mode
before Iearning about magit-wip
. One addresses #21, and another fixes the problem that git-wip-after-save
sends the message "Wrote and git-wip'd" even if the asynchronous process calling git-wip
fails. I can send over a pull request if there is interest in ongoing development, though in that case, it would be good to take action on PR #12, since my changes affect some of the same functions.
Thanks.
Hi, git-wip is current unusable for emacs users. It would be great if you could take a look at the issues list. I think merging in the changes in #11 should do the trick as far as emacs support goes.
If you no longer want to maintain this tool you should consider giving someone else commit acces or even transfer ownership. It's too awesome to let die. I'm sure some of the other committers would be willing to step up.
(vc-backend (buffer-file-name))
returns GIT
for me, not `Git'. Maybe use a case insensitive comparison?
If you start vim in ~/project/a, and then edit ~/project/b/a.c saving will result in lots of errors.
git wip should detect that it's given a path in a different work tree and switch to it before running git commands.
* About to connect() to www.jukie.net port 80 (#0)
* Trying 208.68.38.196... connected
> GET /bart/blog/save-everything-with-git-wip HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: www.jukie.net
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/html
< Content-Length: 369
< Date: Thu, 15 Oct 2015 13:46:25 GMT
< Server: lighttpd/1.4.35
<
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>500 - Internal Server Error</title>
</head>
<body>
<h1>500 - Internal Server Error</h1>
</body>
</html>
* Connection #0 to host www.jukie.net left intact
* Closing connection #0
ATM the post is accessible at Internet Archive but maybe there is a better location to link to.
this would be great if it was integrated with grunt so that you could just run grunt watch command and it would call git wip every time the watched file list was changed!
This command will list all wip branches
$ git wip list
wip/foo
wip/bar
$ git wip list -v
wip/foo is 5 commits ahead of foo
wip/bar is 1 commit ahead of bar
Should print wip branch name and number of commits on it.
Maybe something like this....
$ git wip info
wip/topic is 5 commits ahead of topic
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.