`
scm002
  • 浏览: 317091 次
社区版块
存档分类
最新评论

Useful git commands

 
阅读更多

GIT_USER=$(git config user.email | cut -d@ -f1)

ssh -p 29418 review.example.com -l $GIT_USER gerrit --help

ssh -p 29418 review.example.comt -l $GIT_USER gerrit review --help

ssh -p 29418 review.example.com -l $GIT_USER gerrit review <patchset-SHA1> --code-review +1 --message="’Your comments’"

 

ssh -p 29418 review.example.com -l $GIT_USER gerrit query --patch-sets <patchset-SHA1>

git ls-remote ssh://$GIT_USER@review.example.com:29418/projectname 

 

git --git-dir="gitpath/.git" describe --all --contains sha1

git branch -a --contains 6812291146b40b2e0c0fe33015f88faf353f0ddb

分享到:
评论

相关推荐

    Git for Teams (2015)

    You can do more with Git than just build software. This practical guide delivers a unique ... The second part provides hands-on exercises to help developers gain a better understanding of Git commands.

    Git.Best.Practices.Guide.1783553731

    Starting with the basic Git commands, this book will take you on a journey to explore all the features of Git and provide you with a way to integrate Git in a team to set up Agile methods and ...

    Useful-Commands:[CS

    【压缩包子文件的文件名称列表】"Useful-Commands-master" 提示这是一个Git仓库的主分支,通常包含README文件、源代码文件、测试文件等。我们可以期待在解压后找到以下几类文件: 1. **README**:通常会详细解释...

    useful_commands:必要时要参考的命令列表

    "useful_commands:必要时要参考的命令列表" 提供了一个集合,这些命令可能在日常工作中经常用到,尤其与Jupyter Notebook相关。Jupyter Notebook是一款强大的交互式计算环境,允许用户混合编写代码、文本和多媒体...

    Manning.Git.in.Practice.2014.9.pdf

    - **Rewriting History**: Using commands like `git reset` and `git rebase`, you can rewrite parts of the commit history. This should be done carefully to avoid losing important changes. - **Disaster ...

    Git.Mastering.Version.Control.pdf

    Its step-by-step approach with useful information makes this course the ultimate guide to understanding and mastering Git. This course will show the road to mastery example by example, while also ...

    Git in Practice

    Instead, this book provides a detailed understanding of all the features of Git that are useful when you’re using Git to manage source code for software projects. I decided on the contents by ...

    phantomenv:PhantomJS 版本管理器,深受 rbenv 的启发

    幻影环境 rbenv,但对于 PhantomJS。 安装 要安装最新的稳定版本: git clone -b v0.0.10 ...Some useful phantomenv commands are: exec Execute a command from a particular PhantomJS version. shell Se

    helmenv:头盔版本管理器

    Helmenv 版本管理器。 大多数代码取自以下工具: 安装 将helmenv检出到任何路径(这里是${HOME}/....Some useful helmenv commands are: local Set or show the local application-specific Helm version glob

    ak-cli:有用的cli命令的集合

    10. **Useful Commands**:ak-cli的目的是提供一套实用的命令,这可能包括但不限于自定义脚本、自动化任务、性能监测、错误排查等,旨在提升开发者的生产力。 通过ak-cli,用户可以减少重复的手动工作,专注于更...

    Linux Shell Scripting Cookbook - Third Edition

    Linux Shell Scripting Cookbook - Third Edition by Clif Flynt ...This book will take you through useful real-world recipes designed to make your daily life easier when working with the shell.

    Linux for Developers

    * **Basic Commands:** Teaches how to use basic developer commands such as gzip and grep, essential for file compression and searching through files respectively. #### Navigating Linux Filesystems * *...

    linux\linux命令速查手册

    ##### Other Useful Commands - **touch**: 修改文件的时间戳或创建空文件。 - **umask**: 设置新建文件的默认权限掩码。 - **whereis/which**: 查找命令的位置。 - **cat**: 显示文件内容。 - **chattr/chgrp/...

    linux kernel in a nutshell

    This resource is particularly useful for those interested in designing embedded systems based on the Linux kernel, as it covers essential aspects of building, configuring, and customizing the kernel....

    RedHat Certificate Engineer

    Some useful commands include: ```bash virsh list # List active VMs virsh start &lt;vm-name&gt; # Start a VM virsh destroy &lt;vm-name&gt; # Stop a VM virsh shutdown &lt;vm-name&gt; # Shut down a VM gracefully ...

    mastering-spring-cloud2018

    Git client Chapter 1, Introduction to Microservices, will introduce you to the microservices architecture, cloud environment, etc. You will learn the difference between a microservice based ...

    Udemy - Deep Learning Convolutional Neural Networks in Python

    Make sure you always “git pull” so you have the latest version! HARD PREREQUISITES / KNOWLEDGE YOU ARE ASSUMED TO HAVE: calculus linear algebra probability Python coding: if/else, loops, lists, ...

Global site tag (gtag.js) - Google Analytics