Comments (2)
It errors out :)
from legit.
Got this today.
(transitopoars)lovato@xlovato:/code/python/transitopoars/transitopoars (fixes201404) $ git checkout master/code/python/transitopoars/transitopoars (fixes201404) $ git switch master
error: Your local changes to the following files would be overwritten by checkout:
tests/201403051659.txt
Please, commit your changes or stash them before you can switch branches.
Aborting
(transitopoars)lovato@xlovato:
Saving local changes.
Saved working directory and index state On fixes201404: Legit: stashing before switching branches.
HEAD is now at e728363 melhorias
Switching to master.
Restoring local changes.
Traceback (most recent call last):
File "/usr/local/bin/legit", line 9, in
load_entry_point('legit==0.1.1', 'console_scripts', 'legit')()
File "/usr/local/lib/python2.7/dist-packages/legit/cli.py", line 44, in main
command.call(args)
File "/usr/local/lib/python2.7/dist-packages/legit/cli.py", line 549, in call
return self.fn(_args, *_kw_args)
File "/usr/local/lib/python2.7/dist-packages/legit/cli.py", line 142, in cmd_switch
status_log(unstash_it, 'Restoring local changes.', branch=from_branch)
File "/usr/local/lib/python2.7/dist-packages/legit/cli.py", line 85, in status_log
log = func(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/legit/scm.py", line 102, in unstash_it
'stash', 'pop', 'stash@{{{0}}}'.format(stash_index)])
File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 377, in execute
raise GitCommandError(command, status, stderr_value)
git.exc.GitCommandError: 'git stash pop stash@{T}' returned exit status 1: fatal: ambiguous argument 'stash@{T}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
from legit.
Related Issues (20)
- git-legit.org is down with application error HOT 5
- Feature request: unpublish multiple HOT 2
- Release a current Windows build HOT 3
- Install command HOT 1
- Website is down
- Have `allow_black_foreground` use a dark grey
- Apply for the permission of PyPI HOT 1
- Fix the broken links HOT 1
- git switch HOT 1
- Windows 10 Defender idenity 1.0.1 relase as Trojan:Win32/Fuery.B!cl HOT 3
- Submit new version 1.1.0 to PyPi HOT 2
- How to fix "RuntimeError: dictionary changed size during iteration" in Python? HOT 1
- Add `fetch --prune` to the sync?
- PyPI archive: bash completion line end using '\r\n' HOT 1
- overview link on site is broken HOT 1
- Switch fails to unstash for branch names with a forward slash HOT 2
- [feature request] tab auto complete branch name HOT 2
- git sync fails badly, not goodly, when branch is unpublished
- legit 1.2.0.post0 searches for legit in the wrong place when using an anaconda python HOT 1
- please publish a release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legit.