Comments (4)
Good catch! Do you think just switching to commit hashes instead would solve the inconsistency but still provide a valuable lesson?
from learngitbranching.
Definitely that could be a workaround until itβs fixed on the simulator, although I think the most common way of using the colon fetch is with a branch name origin (updating o/branch)
from learngitbranching.
Alright @juanmv94 just updated the level -- let me know what you think:
https://learngitbranching.js.org/?NODEMO&command=level%20remoteAdvanced6
from learngitbranching.
More issues discovered affecting fetch and pull commands:
I'm making a pull request fixing all these issues including the previous ones
git fetch origin foo:bar (with HEAD on o/foo up to date, bar branch still doesn't exists) --> Already up to date!
Examples:
git clone
git fetch origin main:foo
git fetch origin foo:bar (with current HEAD not part of history of foo) --> Your origin branch is out of sync with the remote branch and fetch cannot be performed
Examples:
git checkout -b foo c0
git commit
git clone
git fetch origin main:bar
git clone
git fetch origin c0:foo
from learngitbranching.
Related Issues (20)
- [Bug] Origin IP found HOT 1
- Hi
- Add more clarification on "git branch -f" command HOT 4
- I am a new open source development and I want to create a feature in the Introduction Sequence. Where should I start? HOT 1
- o/main is not synced when doing `git pull origin main:main` HOT 4
- Rebase Introduction is incorrect (git 2.42.0) HOT 4
- level remoteAdvanced3 branch naming not in assignment but required HOT 3
- level 5: teamwork * should not be shown HOT 2
- show solution doesn't work with custom level HOT 3
- minor correction for Korean translation
- Add deep links HOT 2
- Add direct link to each level HOT 1
- level cherry pick solution does not match problem. HOT 1
- git tags main^2 is broken
- Fix the hint in level "Branch Spaghetti", selectiveRebase.js HOT 1
- Can someone explain to me about hint in level "Branch Spaghetti"?
- Skip button in the levels HOT 4
- Ramping Up - Relative Ref 2 - caret issue HOT 3
- [Feature request] Arcade mode
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 learngitbranching.