Git Command Line Guide (from old wiki) #3967
Closed
chenlica
started this conversation in
archived-wiki
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From the page https://github.com/apache/texera/wiki/Git-Command-Line-Guide (may be dangling)
====
This is the guide of how to use git command line to work on the Texera project:
git clone https://github.com/Texera/texera.gitto clone the repository to your local computer.texera/corefolder you just downloaded and run the commandgit branch. This command will show the current branch you are in, which will bemasterright now.masterbranch is used by the user, we wouldn't want it to become vulnerable because of unreviewed codebase, therefore, all Texera developers should work on their own branches.git checkout -b your-branch-nameto create new branch. Suppose my name is Joe and I work on a regex operator, I'll dogit checkout -b joe-regex-operator. Rungit branchagain and you will see you are now in the new branch you have created.git statusto check the files added / changed / deleted.git add .to add the changes to a stack. Then, rungit commit -m "commit message"to label the changes on the stack.git pushto push this commit to the Github so that other developers can pull your code down and test it.git checkout branch_namegit pullcommand to pull the new changes to your local repository.git pull origin "branch_to_pull_from".Beta Was this translation helpful? Give feedback.
All reactions