You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pt.txt 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Barnum, a Patchset Tool (pt)
  2. This Git wrapper script is designed to reduce the ceremony of working with Gitblit patchsets.
  3. Copyright 2014 gitblit.com.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. Linux
  14. 1. This script should work out-of-the-box, assuming you have Python 3 and Git.
  15. 2. Put the pt script in a directory on your PATH
  16. Mac OS X
  17. 1. Download and install Python 3, if you have not (http://www.python.org)
  18. 2. Put the pt script in a directory on your PATH
  19. Windows
  20. 1. Download and install Python 3, if you have not (http://www.python.org)
  21. 2. Download and install Git for Windows, if you have not (http://git-scm.com)
  22. 3. Put the pt.cmd and pt.py file together in a directory on your PATH
  23. Usage
  24. pt fetch <id> [-p,--patchset <n>]
  25. pt checkout <id> [-p,--patchset <n>] [-f,--force]
  26. pt push [<id>] [-i,--ignore] [-f,--force] [-t,--topic <topic>]
  27. [-m,--milestone <milestone>] [-cc <user> <user>]
  28. pt pull <id>
  29. pt start <topic> | <id>
  30. pt propose [new | <branch> | <id>] [-i,--ignore] [-t,--topic <topic>]
  31. [-m,--milestone <milestone>] [-cc <user> <user>]
  32. pt cleanup [<id>]