Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.1 KB

github.md

File metadata and controls

26 lines (18 loc) · 1.1 KB

Git Integration

.. meta::
   :description: Jovian commit also performs git commit to keep a track of other files.

jovian.commit automatically performs git commit if the current notebook/script is in a git repository, as git_commit is True by default and works only inside a git repository.

Use git_message parameter to give a different commit message to git, else it will take jovian's commit message by default.

jovian.commit(message="jovian version commit message",
              git_message="git commit message")

git commit from notebook

Jovian also generates a link to the git commit associated to each jovian commit versions and is accessible with a button on the notebook linking to github/gitlab.

git button on jovian

.. important::
        Jovian does not perform ``git push``, so if the asscociated link is not available then you'll have push your repo.