Git Product home page Git Product logo

git-attic's Introduction

GitHub Workflow Status

git subcommand to manage retired references

Manage an archive of git references such as retired branches. The package provides the git attic subcommand that may be used to move branches to the archive, to restore them, and to push and fetch the archive to and from remote repositories.

The mechanism is to store references using a dedicated prefix that is ignored by other git commands. As a result, the references in the archive are retained in the repository, but do not interfere with daily git workflows. The idea has been borrowed from a reply on Stack Overflow.

System requirements

Python:

  • Python 3.5 or newer

External Programs:

Required library packages:

Optional library packages:

  • setuptools_scm

    The version number is managed using this package. All source distributions add a static text file with the version number and fall back using that if setuptools_scm is not available. So this package is only needed to build out of the plain development source tree as cloned from GitHub.

  • pytest >= 3.9

    Only needed to run the test suite.

  • distutils-pytest

    Only needed to run the test suite.

Copyright and License

Copyright 2021โ€“2022 Rolf Krahl

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

git-attic's People

Contributors

rkrahl avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

trellixvulnteam

git-attic's Issues

Implement git attic

Implement git attic providing the following subcommands:

  • list: list references in the archiv
  • stash: move a branch to the archive
  • restore: restore a branch from the archive
  • push: push references in the archive to a remote repository
  • fetch: fetch reference from a remote repository into the archive

Use configuration

Read some configuration variables from the git configuration, in particular the prefix.

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.