Comments (6)
can you help me implement any one of the features? like reset, move etc It's my first commit.
from isomorphic-git.
I think renameBranch
would be ideal as well. I'd like to take on development for this issue, but don't know where to start in terms of reference for how to actually implement this logic. I'll take a look through the createBranch
logic, but will ping here if/when stuck
from isomorphic-git.
I decided I would do an experiment and simply clone two of the exact same repo, then locally rename the master
branch to main
in one of them, then use SmartSyncronize to compare and contrast the difference between the two.
It seems like the following actions need to be done:
- Change the
config
branch name - Change the
head
ref - Move the
ref/heads
old branch name file to a file with the new branch name
I'll read through the codebase to see what code is already present and what code needs to be written
from isomorphic-git.
I'm visiting my parents this weekend (it's Father's Day in the USA) so I can't directly help today, but if you give it a shot and get stuck you can ask questions!
from isomorphic-git.
I case could be made either way, but I think renameBranch would be a more fitting name. (Both terms are used in the git documentation, but what's really happening is that the branch is getting a new name. Plus, the name of the operation in Node's fs module to rename/move a file is "rename". So the terminology might be expected.)
from isomorphic-git.
🎉 This issue has been resolved in version 1.7.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
from isomorphic-git.
Related Issues (20)
- Tests are failing on Android HOT 15
- Cloning empty repository fails if git server uses git >= 2.41.0 HOT 5
- Getting a 404 with azure devops HOT 1
- not respecting server capabilities ( report-status ) HOT 1
- How can I abort a push operation on Node? AbortController seems to be not supported. HOT 2
- Codespell workflow needs approval
- Disable failing test that require credentials on Azure DevOps HOT 14
- Race condition makes it possible for a ref to be resolved to an empty string while it's in the middle of being updated HOT 16
- Invalid refs should throw HOT 11
- Isomorphic git functionality is broken on any browser
- Error Running Linter on main locally HOT 4
- Github Clone Broken on Latest Version HOT 6
- Pushing an annotated tag has slightly different behavior between isomorphic-git and Git HOT 1
- StatusMatrix results are different on Windows and Linux HOT 2
- Unchanged image/audio files being queued for commit with `git.add()` HOT 3
- BrowserFS deprecated HOT 7
- Detect streaming process HOT 6
- Tests are failing HOT 1
- `git.init()` with `gitdir` set behaves differently to `git init --separate-git-dir=foo`
- Equivalent to `git config --list` HOT 7
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 isomorphic-git.