File: README.rst

package info (click to toggle)
pytorch-vision 0.21.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,228 kB
  • sloc: python: 65,904; cpp: 11,406; ansic: 2,459; java: 550; sh: 265; xml: 79; objc: 56; makefile: 33
file content (23 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Utility scripts
===============

* `fbcode_to_main_sync.sh`

This shell script is used to synchronise internal changes with the main repository.

To run this script:

.. code:: bash

    chmod +x fbcode_to_main_sync.sh
    ./fbcode_to_main_sync.sh <commit_hash> <fork_name> <fork_main_branch>

where

``commit_hash`` represents the commit hash in fbsync branch from where we should start the sync.

``fork_name`` is the name of the remote corresponding to your fork, you can check it by doing `"git remote -v"`.

``fork_main_branch`` (optional) is the name of the main branch on your fork(default="main").

This script will create PRs corresponding to the commits in fbsync. Please review these, add the [FBcode->GH] prefix on the title and publish them. Most importantly, add the [FBcode->GH] prefix at the beginning of the merge message as well.