DEV Community

Cover image for Advance Git & GitHub
Jabastin .A
Jabastin .A

Posted on

Advance Git & GitHub

View File Differences

Image descriptionShows line-by-line differences between working directory and staged files to understand code changes before committing.

View Commit History

Image descriptionDisplays the project’s commit history with messages, hashes, and authors to track progress and changes over time.

Copy Remote Repository

Image descriptionCreates a local copy of a remote repository, allowing me to work on projects from my machine.

Fetch and Merge

Image descriptionRetrieves and merges changes from the remote repository to keep my local copy up-to-date.

Upload Local Changes

Image descriptionSends my local commits to the remote repository to share updates with collaborators or backup progress.

Track Line Author

Image descriptionShows who made changes to each line of a file, useful for debugging or reviewing history.

Resolve Code Conflicts

Happens when changes clash during merging; I manually edit files to fix and finalize the integration.

Create new branch

Image descriptionCreates branches to work on features or fixes independently without affecting the main codebase.

Switch between branches

Image descriptionSwitch to a new branch and immediately, useful for starting isolated work on new features.

Ignore Untracked Files

Image descriptionSpecifies files and folders Git should skip, like build outputs or environment files, to keep the repo clean.

Top comments (0)