Giter VIP home page Giter VIP logo

Comments (6)

erdahuja avatar erdahuja commented on June 19, 2024 1

can you help me implement any one of the features? like reset, move etc It's my first commit.

from isomorphic-git.

crutchcorn avatar crutchcorn commented on June 19, 2024 1

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.

crutchcorn avatar crutchcorn commented on June 19, 2024 1

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:

  1. Change the config branch name
  2. Change the head ref
  3. 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.

billiegoose avatar billiegoose commented on June 19, 2024

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.

mojavelinux avatar mojavelinux commented on June 19, 2024

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.

isomorphic-git-bot avatar isomorphic-git-bot commented on June 19, 2024

🎉 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.