Git Commands: git init - Initializes a new Git repository in the current directory. git clone [url] - Clones a repository from a remote URL to your local machine. git add [file] - Adds the specified file to the staging area. git add . - Adds all changes in the current directory to the staging area. git commit -m "[message]" - Commits the changes in the staging area with a descriptive message. git status - Shows the status of changes in the working directory and staging area. git log - Displays a log of all the commits in the current branch. git diff - Shows the differences between the working directory and the staging area. git branch - Lists all local branches in the repository. git branch [branch-name] - Creates a new branch with the specified name. git checkout [branch-name] - Switches to the specified branch. git merge [branch-name] - Merges the specified branch into the current branch. git pull - Fetches changes from the remote repository and merges them into the current branch. git push - Pushes changes from the local repository to the remote repository. git remote add [name] [url] - Adds a remote repository with the specified name and URL. git remote -v - Displays the URLs of the remote repositories. git fetch - Fetches changes from the remote repository without merging them. git rebase [branch-name] - Reapplies commits on top of another base tip. git stash - Stashes the changes in the working directory for later use. git stash apply - Applies the stashed changes to the working directory. git reset [file] - Removes the specified file from the staging area. git reset --hard [commit] - Resets the working directory and staging area to the specified commit, discarding all changes. git tag [tag-name] - Creates a new tag with the specified name. git show [tag-name] - Displays information about the specified tag. GitHub Commands: gh repo create [repo-name] - Creates a new GitHub repository. gh repo clone [repo-name] - Clones a GitHub repository to your local machine. gh issue list - Lists issues in the current repository. gh issue create - Creates a new issue in the current repository. gh pr list - Lists pull requests in the current repository. gh pr create - Creates a new pull request in the current repository. gh auth login - Authenticates your GitHub account from the command line. gh repo fork [repo-name] - Forks a GitHub repository. gh repo view [repo-name] - Opens the specified repository in the browser. gh repo set-default [repo-name] - Sets the specified repository as the default for GitHub CLI commands.
Hello, thanks for ur video. Please i have a big problem in my java final project, i need it after two days! Can u help me please? One of my problems is error in setOnNavigationItemSelectedListener function! It doesn't work! I don't know why!!! Another problem: the cases in switch in menu! I have a errer in it too! Please help me!
Thanks a lot❤
Great video, thank you
please bring more on github for andriod Devopler very few video on youtube
interesting topic i will try
Can you make video on all github commands like pushing the code pull code and command that a developer use for general development process
Git Commands:
git init - Initializes a new Git repository in the current directory.
git clone [url] - Clones a repository from a remote URL to your local machine.
git add [file] - Adds the specified file to the staging area.
git add . - Adds all changes in the current directory to the staging area.
git commit -m "[message]" - Commits the changes in the staging area with a descriptive message.
git status - Shows the status of changes in the working directory and staging area.
git log - Displays a log of all the commits in the current branch.
git diff - Shows the differences between the working directory and the staging area.
git branch - Lists all local branches in the repository.
git branch [branch-name] - Creates a new branch with the specified name.
git checkout [branch-name] - Switches to the specified branch.
git merge [branch-name] - Merges the specified branch into the current branch.
git pull - Fetches changes from the remote repository and merges them into the current branch.
git push - Pushes changes from the local repository to the remote repository.
git remote add [name] [url] - Adds a remote repository with the specified name and URL.
git remote -v - Displays the URLs of the remote repositories.
git fetch - Fetches changes from the remote repository without merging them.
git rebase [branch-name] - Reapplies commits on top of another base tip.
git stash - Stashes the changes in the working directory for later use.
git stash apply - Applies the stashed changes to the working directory.
git reset [file] - Removes the specified file from the staging area.
git reset --hard [commit] - Resets the working directory and staging area to the specified commit, discarding all changes.
git tag [tag-name] - Creates a new tag with the specified name.
git show [tag-name] - Displays information about the specified tag.
GitHub Commands:
gh repo create [repo-name] - Creates a new GitHub repository.
gh repo clone [repo-name] - Clones a GitHub repository to your local machine.
gh issue list - Lists issues in the current repository.
gh issue create - Creates a new issue in the current repository.
gh pr list - Lists pull requests in the current repository.
gh pr create - Creates a new pull request in the current repository.
gh auth login - Authenticates your GitHub account from the command line.
gh repo fork [repo-name] - Forks a GitHub repository.
gh repo view [repo-name] - Opens the specified repository in the browser.
gh repo set-default [repo-name] - Sets the specified repository as the default for GitHub CLI commands.
ok i will try it
Hello, thanks for ur video.
Please i have a big problem in my java final project, i need it after two days! Can u help me please?
One of my problems is error in setOnNavigationItemSelectedListener function! It doesn't work! I don't know why!!!
Another problem: the cases in switch in menu! I have a errer in it too!
Please help me!
Dm me i can help