Found a total of 10000 related content
Writing PHP Git Hooks with Static Review
Article Introduction:Git Hooks: Automating Development Tasks with PHP and Static Review
For seasoned Git users, Git hooks are likely familiar. For the uninitiated, Git hooks are scripts triggered by specific Git events (commit, push, receive, etc.), running on both clie
2025-02-17
comment 0
1041
Versioning Large Files with Git LFS
Article Introduction:Git Large File Storage (LFS): Streamlining Large File Management in Git
Git's efficiency can be hampered by large files. Git Large File Storage (LFS), an open-source Git extension, solves this by replacing large files (images, videos, etc.) with tex
2025-02-19
comment 0
299
Version Control with Magento and Git
Article Introduction:Key Advantages of Using Git with Magento
This article explores the benefits of integrating Git version control into your Magento e-commerce development workflow. Git's capabilities—version control, easy rollback, cloning, and streamlined deployment—
2025-02-17
comment 0
681
Learn Git with Bitbucket Cloud
Article Introduction:This article was sponsored by Bitbucket. Thank you for supporting the sponsors who make SitePoint possible.
Objective
Learn the basics of Git with this space themed tutorial.
Mission Brief
Your mission is to learn the ropes of Git by completing the
2025-02-17
comment 0
348
Git Bash Basics: Your First Steps
Article Introduction:Discover the basics of Git Bash with our beginner-friendly guide. Learn essential commands for managing files, repositories, and tracking changes effortlessly!
Git Bash is a powerful tool that allows you to manage your code and collaborate with othe
2024-10-29
comment 0
819
Jump Start Git: Branching in Git
Article Introduction:Git branch: a tool for efficient collaboration
This article is excerpted from the book Jump Start Git, which is available for free to SitePoint Premium members. Physical books are available in major bookstores around the world, and you can also order them here. Hope you like and benefit from it!
In Chapter 1, I talked about my initial fear of trying new things in my project. What if you try some ambitious features but break the part that was previously functioning? Git's branching feature perfectly solves this problem.
Summary of key points
The Git branch allows you to create a copy of the project, so that you can experiment without affecting the original project. If the experiment is successful, it is easy to merge experimental elements into the main branch.
Branches
2025-02-18
comment 0
951
5 Ways to Undo Mistakes with Git
Article Introduction:No matter how experienced software development is, it is inevitable to make mistakes. But the difference between a good programmer and an ordinary programmer is that they know how to undo the error!
If you use Git as your version control system, you already have a powerful set of "undo tools". This article will show you five powerful ways to undo errors with Git!
Key Points
Git allows users to undo errors in code by discarding unwanted local changes. This can be done using the git restore command, which resets the file to its last committed state. For more granular control, you can use the -p flag to discard changes at the patch level.
The git log command can be used to restore a specific file to a specific version.
2025-02-10
comment 0
811
How to Properly Deploy Web Apps via SFTP with Git
Article Introduction:Deploying Web Applications via SFTP with Git: A Secure and Efficient Workflow
This article explores using PHPSECLIB and Git for streamlined and secure SFTP deployments. We'll cover key features, authentication methods, and automation techniques to o
2025-02-10
comment 0
483