Comments (3)
Thank you so much for your thoughtful suggestions.
I'm sorry for my slowness. My notifications got turned off.
These are all good suggestions and I'm incorporating them here: #28
from git-cheatsheet.
@phil-blain how to you suggest differentiating between local branches and local references to remote branches?
from git-cheatsheet.
At first thought, I don't think I would..
I would just do the changes I suggested above for reset --hard <remote>/<branch>
and branch --track new <remote>/<branch>
, and I think I would just remove branch -r
. There's already branch
in the "Local repository" column, and its description mentions -r
so I think it would be enough.
For reset --hard <remote>/<branch>
I would change the first sentence of the description this way:
- Reset local repo and working tree to match a remote branch.
+ Reset local repo and working tree to match a remote-tracking branch.
Also, for branch --track <new> <remote>/<branch>
, I would change the command to simply branch <new> <remote>/<branch>
, since the default behaviour of Git is to setup tracking if the starting point if a remote-tracking branch (see the git branch
man page). And maybe I would change the description also:
- Create a new local branch that tracks a remote branch.
+ Create a new local branch from a remote-tracking branch.
from git-cheatsheet.
Related Issues (15)
- Great Repo
- Add ability to show "All" locations at once
- Responsive!
- Show dynamically displayed docs closer to where the element is
- More keyboard control
- Localization is broken on last version HOT 1
- git pull missing information HOT 3
- `stash save` should be replaced with `stash push`
- Fix back button
- Site does not work without HTTPS HOT 4
- Add "emergency" link
- Adding RTL mode for supporting RTL languages. HOT 7
- Translate to Brazilian Portuguese (pt-br) HOT 2
- dockerfile make it simple HOT 2
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 git-cheatsheet.