Comments (3)
I've already made something that could help you here: https://github.com/ivan-danilov/git-tfs/tree/rebase-workflow
It is doing exactly what you've said plus rebases tail of your HEAD (after the commit you're checking in TFS) onto new tfs/default - so you can run series of checkins from git to tfs and have just smooth history.
The key is "--rebase-workflow" or "-r".
Unfortunately it still not helps with redundant conversions because pulling from other git repository will bring new commits from TFS but won't change your tfs/default ref. I'm working on this now.
Currently I've made a workaround: in ivan-danilov@5cb36da after pulling you could execute "git tfs bootstrap" and it will update your ref further. I just want to make 'git tfs fetch' does this itself before fetching. Probably will commit this today in several hours.
from git-tfs.
Here it is: https://github.com/ivan-danilov/git-tfs/commits/redundant-fetch
--rebase-workflow is already merged in the redundant-fetch branch
from git-tfs.
I think that with recent rcheckin
and checkin --no-merge
additions this issue should be closed.
from git-tfs.
Related Issues (20)
- Export map can't be created, if a TFS changeset shall be assigned to multiple commits
- Wrong branch cloned when several branch names starts in the same
- "git tfs" isn't a command, but "git-tfs" is a command HOT 1
- Error while cloning branches by using command. - git tfs clone https://TFSURL/tfs/defaultcollection/ $/ProjectName/Ressursstyring/src/next . --branches=all HOT 2
- How is v0.33.0 supporting Vs2022 as mentioned in the release notes? HOT 3
- Exclude folders from migration. HOT 2
- "GitTfs.Core.GitTfsException: Nothing to checkin!" on "git tfs rcheckin" HOT 5
- Cannot verify the migrated repository 'Unable to cast object of type ....' HOT 3
- Feature Request : Submit git-tfs to winget HOT 2
- .gitattributes ignored HOT 6
- I couldn't run them at first, but then managed to run Checkin Policies on VS2022 HOT 1
- Crash if no VS installed
- Case changing renames in TFS are ignored HOT 4
- How does --ignore-branches-regex work? HOT 7
- rcheckin not working as expected? HOT 1
- TFVC to git repo migration - getting name case mismatch error when using git tfs verify
- git blame is blaming person, who branched out the branch
- fetch a TFS branch with --parents results in a NO-OP or I am using it wrong HOT 2
- Feature request: git-tfs verify ignore whitespace and/or line ending differences. HOT 2
- p11 HOT 1
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-tfs.