-
create a cmd/bat file with the command. E.g. retag.cmd, save it in C:\git-scripts for example
-
add your git commands to the file. For example, this set of commands deletes the specified tag from your current branch both locally and remotely, then tags it with the same tag and pushes the change remotely
git tag -d %1
git push origin :refs/tags/%1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package mysqlconnectiontest; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.SQLException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Button extends React.Component { | |
render() { | |
return ( | |
<button onClick={() => this.props.onClickFunction(this.props.incrementValue)}> | |
+{this.props.incrementValue} | |
</button> | |
); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Card = (props) => { | |
return ( | |
<div> | |
<img width="75" src={props.avatar_url} /> | |
<div style={{ display: 'inline-block', marginLeft: 10 }}> | |
<div style={{ fontSize: '1.25em', fontWeight: 'bold' }}>{props.name}</div> | |
<div>{props.company}</div> | |
</div> | |
</div> | |
); |