Comments (7)
Ah, now I get it.
For the time being, you can press ctrl+a
to jump to the beginning of the line and use delete
to delete the origin
part and replace it with fork
.
from lazygit.
Or use alt-left-arrow to jump over the branch name, and ctrl-w to delete the remote name and type another one.
These keybindings work in all of lazygit's text fields, it is useful to get used to them. I use them in the commit message panel all the time.
from lazygit.
Under which name does git push fork
push the branch?
E.g. if you are on a branch performance_fix
and do git push fork
?
from lazygit.
It will push to whatever the upstream is set to for the current branch. You can check it with git branch -vv
: SO link
I can't figure out why, I think this got set for me automatically the last couple times I used it while working.
from lazygit.
It will push to whatever the upstream is set to for the current branch. You can check it with git branch -vv: SO link
That's probably dictated by your global gitconfig
.
And you want to push it under the same name, i.e. performance_fix
to the upstream fork
? If so, why delete the name from lazygit
's push prompt?
from lazygit.
And you want to push it under the same name,
yes
why delete the name from
lazygit
's push prompt?
Because you need to delete it in order to move the cursor to the remote, so you change it from origin
to fork
.
from lazygit.
These keybinds don't seem to work on my system: Alt-left-arrow just adds [1;3D
to the text for me, and ctrl+w has no effect. Probably my fault (I run a very niche distro, NixOS), but up until now I just figured lazygit
didn't bother adding readline or whatever to the textboxes.
from lazygit.
Related Issues (20)
- Focus on `current` commit after open lazygit when doing git bisect HOT 1
- Use nvim-remote to edit commit message in current nvim instance
- `log` missing some characters when highlighted HOT 2
- git error:data contained a nul byte that could not be represented as a string
- Lazygit constantly tries to connect to the remote repository automatically HOT 1
- Logs are not represented as in the demo HOT 2
- Crash when trying to open in `.git/` directory HOT 1
- Opening outside of the git repository results in error and exits HOT 5
- "Increase the size of the context" '}' not working via shortcut HOT 3
- Not launching in Korean environment with default `language: 'auto'` config HOT 2
- Incorrect parsing of unicode escape codes HOT 1
- awesomewm terminal
- Allow customize Shell & ShellArg in config.yml HOT 2
- Manual and/or Go install commands for lazygit HOT 4
- expandedSidePanelWeight doesn't seem to work HOT 2
- "failed: fatal: detected dubious ownership in repository" when running lazygit on a newly initialized repository on a external drive
- Enable rebasing and patching of commits even when using GPG HOT 2
- Support multiple contexts for a custom command HOT 2
- Panel Selection Inversion HOT 3
- upload to apt repository HOT 3
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 lazygit.