My cpputest-for-qpc repo has been significantly refactored. This repo is now library only focused. A separate repository now provides the top-level example of how to import this library and use it to create unit tests for a QP/C active object. Semantic versioning. Release pages. Better CMAKE usage. (I hope...) Enjoy! https://lnkd.in/efgEnbSx
Matthew Eshleman’s Post
More Relevant Posts
-
I don't know who needs to hear this, but: git clean -fxd Removes all temporary files (EG: DLLs etc) not tracked by git and is super helpful for random cache issues on compiled projects like .Net .
To view or add a comment, sign in
-
When committing new files or changes with git commit, the user is asked to provide a commit message. What will happen if an empty commit message is entered? A. It will make it difficult to track bugs without commit messages. B. The info shown with the git log command will show no commit message. C. The commit will be aborted. D. The commit will ignore untracked files or files that weren't staged.
To view or add a comment, sign in
-
The beauty of code is you can build something that saves you hours of time. I recently found that I had a mix of HTTPS and SSH URLs for my cloned repos. I had multiple methods of authenticating when pulling and pushing git repos. This lead to frustration and fragmentation. So, I built a script to replace all my HTTPS Git URLs with SSH URLs: https://lnkd.in/gDvBgM6u It’s important to note that I have this problem BECAUSE I’m a software engineer… so the code that’s saving me time is fixing a coding problem that was costing me… time. Ironic. Either way, instead of spending hours replacing URLs across ~4 machines, hundreds of repos, this script did it for me in 60 seconds. Software engineers: spending hours/days automating something that takes them minutes manually 😉
To view or add a comment, sign in
-
The initial action in git for each file git init git status and so on I will so add every file using: git add. Nevertheless, in this instance, when I create a subdirectory inside an angular file, the file continues a (node-modules) that has additional content (npm, dependency, etc.). I will thus create a new folder called nano.gitignore which will have all the files I want to stay away from and not utilise. For instance (node_modules) Let's examine the exercise.
To view or add a comment, sign in
-
-
POST UPDATE 😁 Our article expands on a patch file, also known as a diff file, contains changes to be applied to a file or files in a Git repository, helping to avoid human error when manually applying changes. It outlines the use of the 'git diff' command to output changes between two sources within a Git repository, such as files, commits, or branches, with examples provided for each use case. The process of creating a patch file is demonstrated using the 'git diff' command followed by redirection to a `.patch` or `.diff` file. Showing how to apply a shared patch file to the local branch of a Git repository using the `git apply` command and refers to its man page for more information. Go more: https://lnkd.in/dFW7jprk
To view or add a comment, sign in
-
In Git 2.45.0, GitLab upstreamed the reftable backend to Git, which completely changes how references are stored. Get an in-depth look at the inner workings of this new format.
To view or add a comment, sign in
-
🚀 𝗨𝗻𝗹𝗼𝗰𝗸𝗶𝗻𝗴 𝗚𝗶𝘁 𝗞𝗻𝗼𝘄𝗹𝗲𝗱𝗴𝗲: 𝗚𝗶𝘁 𝗟𝗙𝗦 𝗙𝗶𝗹𝗲 𝗟𝗼𝗰𝗸𝗶𝗻𝗴 Recently, I encountered an issue with a "file is locked" error in Git. I wasn’t aware Git also supports file locking, similar to SVN’s concept, through 𝗚𝗶𝘁 𝗟𝗙𝗦 (https://lnkd.in/dj3-WatR). 🌟 After a deep dive, I discovered that Git LFS allows us to lock files so other users can’t make changes until the owner unlocks them. It’s a handy feature for managing critical files in collaborative environments. To resolve my situation, I needed to unlock all the files. So, I rolled up my sleeves and created a small shell script to automate the process 💡: 𝙜𝙞𝙩 𝙡𝙛𝙨 𝙡𝙤𝙘𝙠𝙨 | 𝙖𝙬𝙠 '{𝙥𝙧𝙞𝙣𝙩 𝙨𝙪𝙗𝙨𝙩𝙧($𝙉𝙁, 4)}' | 𝙭𝙖𝙧𝙜𝙨 -𝙄 {} 𝙜𝙞𝙩 𝙡𝙛𝙨 𝙪𝙣𝙡𝙤𝙘𝙠 --𝙛𝙤𝙧𝙘𝙚 --𝙞𝙙={} 💡 It’s always exciting to learn something new and share solutions with the community! Have you used Git LFS file locking before? Let’s discuss. 🤝 #Git #GitLFS #Collaboration #Coding
To view or add a comment, sign in
-
Every dev should know at least those git commands: https://lnkd.in/gwKSSmmr MUST check all the commands to learn or refresh your memory. Ask any questions you have about the commands.
To view or add a comment, sign in
-
Learn how to hide the ‘History Restored’ message from the integrated Git Bash terminal in VS Code.
To view or add a comment, sign in